/* Fix body and html structure */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* body {
    font: 15px "Microsoft YaHei", Arial, Helvetica, sans-serif;
    color: #555;
    background-color: #eeeeee;
    line-height: 1.5;
} */

/* Further improve main content positioning and spacing */
.main-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 70px; /* Space below the header */
    position: relative;
    z-index: 98; /* Increased z-index to be higher than header */
    background-color: #eeeeee; /* Match the body background color */
    pointer-events: auto; /* Ensure clicks are captured */
    box-shadow: none;
    border-radius: 0;
}

/* Add padding to the form inside main-content instead */
.main-content .el-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Ensure form elements are clickable */
.el-form, .el-tabs, .el-tab-pane {
    position: relative;
    z-index: 25; /* Increased z-index */
    pointer-events: auto; /* Ensure clicks are captured */
}

/* Make buttons and form controls explicitly clickable */
.el-button, .el-switch, .el-input, .el-select, .el-checkbox, 
.el-radio, .el-slider, .el-form-item, .el-tabs__item {
    position: relative; 
    /* z-index: 30; Higher z-index */
    pointer-events: auto !important; /* Force clicks to be captured */
}

/* Fix avatar vertical alignment */
.userInfoAvatar {
    display: flex;
    align-items: center;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    height: 40px;
    z-index: 1000;
}

.user-info-container {
    display: flex;
    align-items: center;
}

/* Fix header positioning */
.header-navigation {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: hsla(0, 0%, 100%, .95);
    text-align: center;
    z-index: 99;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* pointer-events: auto; */
}

/* Ensure no overlapping elements are blocking clicks */
header {
    position: fixed;
    top: 0;
    z-index: 99;
    pointer-events: auto;
}

nav {
    width: 1480px;
    margin: auto;
    position: relative;
    /* display: flex; */
    /* justify-content: center; */
}

.slideDown, .slideUp {
    transition: transform .5s ease-out;
}

.logo {
    position: absolute;
    left: 20px;
    font-size: 22px;
    font-weight: bold;
}

.logo a {
    color: #1c7ce5
}

#starlist {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    max-width: 100%;
    float: none;
}

li, ul {
    list-style: none;
}

#starlist li {
    float: none;
    display: inline-block;
    font-size: 15px;
    padding: 0;
    margin: 0 80px;
}

#starlist li a {
    color: #333;
}

#starlist .el-dropdown-link {
    color: #333;
}

#starlist .sub li {
    width: 100%;
    text-align: center
}

#starlist li:last-child {
    padding-bottom: 0;
}

#starlist .sub li:last-child {
    padding-bottom: 0
}

.userInfoAvatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #00AEEC;
    vertical-align: middle;
}

.userInfoAvatar .el-dropdown-link {
    display: flex;
    align-items: center;
    height: 40px;
}

.user-name {
    font-size: 14px;
    color: #606266;
    margin-left: 8px;
    white-space: nowrap;
}

.user-info {
    display: flex;
    align-items: center;
    cursor: pointer;
}
  
.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}
  
.header-login-entry {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    background: #00AEEC;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
}


.el-tab-pane>.el-card {
    border-radius: 8px;
    border: none;
    background-color: none;
}
/* .el-tab-pane>.el-card:hover {
    background-color: #ebeef5;
} */
  
.el-form-item__label:hover {
      color: #409eff;
}
  
/* .el-card__body {
    padding: 20px 20px 4px 20px;
} */
  
a {
    color: #606266;
}
a:hover {
    color: #409eff;
}
  
.el-message-box__content {
    font-size: 18px;
    font-weight: bold;
}
  
.del-all-confirm-button:hover {
    background: #f78989;
    border-color: #f78989;
}
  
.del-all-confirm-button:focus,
.del-all-confirm-button {
    background: #f56c6c;
    border-color: #f56c6c;
}
  


@media screen and (max-width: 768px) {
    #starlist li {
        margin: 0 25px;
    }
    
    .logo {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    #starlist li {
        margin: 0 5px;
    }
    
    .logo {
        font-size: 16px;
    }
}

/* Prevent any global overlays */
body::before, body::after,
.main-content::before, .main-content::after {
    content: none !important;
    display: none !important;
}